import React from 'react';
import { Icon, Button } from 'antd';
import './index.less';
/* eslint-disable */
const ErrorTip = ({ prompt, reload }) => {
  return <div className="web-error-tip">
    <Icon type="exclamation-circle-o" />
    <p className="web-error-tip-prompt">
      {prompt}
    </p>
    <Button onClick={reload} type="primary">
      重新加载
      </Button>
  </div>
}
export default ErrorTip;
